<?php

declare (strict_types = 1);

namespace app\model\member;

use owns\interface\OwnsModelInteface;

class MemberModel extends OwnsModelInteface
{
    protected $name = 'member';

    protected $field = [];

    /**
     * 会员详情
     */
    public function info()
    {
        return $this->hasOne(MemberInfoModel::class, 'member_id', 'id');
    }

}